package com.forum.service.talk;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.entity.ApiResult;
import com.forum.param.TalkPostsCommentQueryParam;
import com.forum.pojo.talk.TalkPostsComment;

import java.util.Map;


/**
 * @author Tsing
 */
public interface TalkPostsCommentService extends IService<TalkPostsComment> {

    /**
     * 指定帖子评论发送
     * @return ApiResult
     * @param comment
     * **/
    ApiResult<String> sendComment(TalkPostsComment comment);

    /**
     * 获取指定帖子的评论
     * @return ApiResult
     * @param queryParam
     * **/
    ApiResult<Map<String, Object>> getCommentList(TalkPostsCommentQueryParam queryParam);
}
